import { createStore } from 'vuex'
import site from './modules/site'
import user from './modules/user'
import content from './modules/content'
import getters from './getters'
import flow from './modules/flow'
import form from './modules/form'

import { store as base } from '@ruifox-cms/utils'

const store = createStore({
  modules: {
    base,
    content,
    flow,
    site,
    user,
    form
  },
  getters
})

export default store
